﻿using System;

namespace Titan
{
    public class QueryExpression<T> : QueryExpression, IQueryExpression
    {

        public QueryExpression()
        {
            Selects = new PropertyNameCollection<T>();
            Wheres = new ConditionCollection<T>();
            Orders = new OrderExpressionCollection<T>();
        }




         


        public new PropertyNameCollection<T> Selects
        {
            get
            {
                return (PropertyNameCollection<T>)base.Selects;
            }
            set
            {
                base.Selects = value;
            }
        }
        public new ConditionCollection<T> Wheres
        {
            get
            {
                return (ConditionCollection<T>)base.Wheres;
            }
            set
            {
                base.Wheres = value;
            }
        }
        public new OrderExpressionCollection<T> Orders
        {
            get
            {
                return (OrderExpressionCollection<T>)base.Orders;
            }
            set
            {
                base.Orders = value;
            }
        }

    }
}
